package com.xueyi.system.ransporManage.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.ransporManage.domain.dto.RansportationManageDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;

import java.time.LocalDateTime;

/**
 * 贮存运输管理 持久化对象
 *
 * @author zlf
 */
@TableName(value = "base_ransportation_manage", excludeProperty = {"sort", "status"})
public class RansportationManagePo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 种子编码
     */
    @Excel(name = "种子编码")
    @TableField("code")
    private String code;

    /**
     * 种子批号
     */
    @Excel(name = "种子批号")
    @TableField("batch")
    private String batch;

    /**
     * 年份
     */
    @Excel(name = "年份")
    @TableField("particular_year")
    private String particularYear;

    /**
     * 运输日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "运输日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("transportation_date")
    private LocalDateTime transportationDate;

    /**
     * 运输工具
     */
    @Excel(name = "运输工具")
    @TableField("transportation_transport")
    private String transportationTransport;

    /**
     * 运抵日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "运抵日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("arrival_date")
    private LocalDateTime arrivalDate;

    /**
     * 运输受损及处理
     */
    @Excel(name = "运输受损及处理")
    @TableField("damage_handle")
    private String damageHandle;

    /**
     * 入库日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("ware_date")
    private LocalDateTime wareDate;

    /**
     * 仓贮设施
     */
    @Excel(name = "仓贮设施")
    @TableField("storage_facilities")
    private String storageFacilities;

    /**
     * 库容
     */
    @Excel(name = "库容")
    @TableField("storage_capacity")
    private String storageCapacity;

    /**
     * 设施id
     */
    @Excel(name = "设施id")
    @TableField("facility_location")
    private Long facilityLocation;

    /**
     * 设施名称
     */
    @Excel(name = "设施名称")
    @TableField("facility_name")
    private String facilityName;

    /**
     * 设施环境
     */
    @Excel(name = "设施环境")
    @TableField("facility_environment")
    private String facilityEnvironment;

    /**
     * 抽査日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "抽査日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("check_date")
    private LocalDateTime checkDate;

    /**
     * 药材损坏情况
     */
    @Excel(name = "药材损坏情况")
    @TableField("damage_situation")
    private String damageSituation;

    /**
     * 损坏处理措施
     */
    @Excel(name = "损坏处理措施")
    @TableField("damage_treatment")
    private String damageTreatment;

    /**
     * 审核人
     */
    @TableField(value = "checker")
    private String checker;

    /**
     * 审核人
     */
    @TableField(value = "check_code")
    private String checkCode;

    public String getChecker() {
        return checker;
    }

    public String getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(String checkCode) {
        this.checkCode = checkCode;
    }

    public void setChecker(String checker) {
        this.checker = checker;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public void setParticularYear(String particularYear) {
        this.particularYear = particularYear;
    }

    public String getParticularYear() {
        return particularYear;
    }

    public void setTransportationDate(LocalDateTime transportationDate) {
        this.transportationDate = transportationDate;
    }

    public LocalDateTime getTransportationDate() {
        return transportationDate;
    }

    public void setTransportationTransport(String transportationTransport) {
        this.transportationTransport = transportationTransport;
    }

    public String getTransportationTransport() {
        return transportationTransport;
    }

    public void setArrivalDate(LocalDateTime arrivalDate) {
        this.arrivalDate = arrivalDate;
    }

    public LocalDateTime getArrivalDate() {
        return arrivalDate;
    }

    public void setDamageHandle(String damageHandle) {
        this.damageHandle = damageHandle;
    }

    public String getDamageHandle() {
        return damageHandle;
    }

    public void setWareDate(LocalDateTime wareDate) {
        this.wareDate = wareDate;
    }

    public LocalDateTime getWareDate() {
        return wareDate;
    }

    public void setStorageFacilities(String storageFacilities) {
        this.storageFacilities = storageFacilities;
    }

    public String getStorageFacilities() {
        return storageFacilities;
    }

    public void setStorageCapacity(String storageCapacity) {
        this.storageCapacity = storageCapacity;
    }

    public String getStorageCapacity() {
        return storageCapacity;
    }

    public void setFacilityLocation(Long facilityLocation) {
        this.facilityLocation = facilityLocation;
    }

    public Long getFacilityLocation() {
        return facilityLocation;
    }

    public void setFacilityName(String facilityName) {
        this.facilityName = facilityName;
    }

    public String getFacilityName() {
        return facilityName;
    }

    public void setFacilityEnvironment(String facilityEnvironment) {
        this.facilityEnvironment = facilityEnvironment;
    }

    public String getFacilityEnvironment() {
        return facilityEnvironment;
    }

    public void setCheckDate(LocalDateTime checkDate) {
        this.checkDate = checkDate;
    }

    public LocalDateTime getCheckDate() {
        return checkDate;
    }

    public void setDamageSituation(String damageSituation) {
        this.damageSituation = damageSituation;
    }

    public String getDamageSituation() {
        return damageSituation;
    }

    public void setDamageTreatment(String damageTreatment) {
        this.damageTreatment = damageTreatment;
    }

    public String getDamageTreatment() {
        return damageTreatment;
    }

}
